#ifndef NMC_RESOURCEHANDLER_HPP
#define NMC_RESOURCEHANDLER_HPP

#include <map>
#include <string>

namespace gcn
{
	class Font;
}

namespace nmc
{
	class Image;

	class ResourceHandler
	{
	public:
		ResourceHandler();
		~ResourceHandler();
		Image* getImage(const std::string& filename);
		gcn::Font* getFont(const std::string& filename,
						   unsigned char glyphsFrom=32,
						   unsigned char glyphsTo=126);

	private:
		std::map<std::string, Image*> mImages;
		std::map<std::string, gcn::Font*> mFonts;
	};
}

#endif